package com.lingnan.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;


@Data
public class CompanyCreateDTO {
    
    @NotBlank(message = "企业名称不能为空")
    @Size(max = 100, message = "企业名称长度不能超过100个字符")
    private String name;
    
    @Size(max = 50, message = "营业执照编号长度不能超过50个字符")
    private String licenseNo;
    
    @Size(max = 255, message = "营业执照图片URL长度不能超过255个字符")
    private String licenseImg;
    
    @Size(max = 50, message = "所属行业长度不能超过50个字符")
    private String industry;
    
    @Size(max = 20, message = "企业规模长度不能超过20个字符")
    private String scale;
    
    @Size(max = 200, message = "企业地址长度不能超过200个字符")
    private String address;
    
    @Size(max = 100, message = "企业官网长度不能超过100个字符")
    private String website;
}